from stevedore import extension


class Extension:
    def __init__(self):
        # self.plugins_manager=extension.ExtensionManager(namespace='plugins')
        self.blacklists_manager = extension.ExtensionManager(namespace='test.blacklists',
                                                             invoke_on_load=False,
                                                             verify_requirements=False)
        print(self.blacklists_manager)
        print(list(self.blacklists_manager))


ext = Extension()
